-- GENERATED SPELL FOR [Sandfury Guardian] --


function spell0_7268(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_7268', 604, 1)
end

function Sorts_7268(pUnit, Event)
local choix_sorts_7268 = math.random(0, 0)
if choix_sorts_7268 == 0 then
pUnit:RegisterEvent('spell0_7268', 1, 1)
end
end

function mob7268_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7268', math.random(1500, 3000), 1)
end

function mob7268_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7268_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7268_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7268, 1, 'mob7268_Action')
RegisterUnitEvent(7268, 2, 'mob7268_Leave')
RegisterUnitEvent(7268, 3, 'mob7268_Kill')
RegisterUnitEvent(7268, 4, 'mob7268_Die')
